#!/bin/sh

set -eu

BASE_PATH="$(cd "$(dirname "$0")"; pwd)"

IGNORE_LIST="C0103,C0111,C0301"
IGNORE_LIST="$IGNORE_LIST,W0511,W0602,W0603,W0612,W0613"
IGNORE_LIST="$IGNORE_LIST,R0201,R0902,R0903,R0911,R0912,R0913,R0914,R0915"

PYTHONPATH="$BASE_PATH/pycam" pylint -i y -d "$IGNORE_LIST" "$1"
